<template>
    <div>
        <UploadImg v-model="pic"/>
        <n-button type="primary" size="medium" @click="handelpic">获取图片链接</n-button>
    </div>

</template>

<script setup>

import { ref } from 'vue';
import UploadImg from '../components/UploadImg.vue';
const pic = ref('')
const handelpic = ()=>{
    console.log(pic.value);
}
</script>

<style lang="scss" scoped>

</style>